colorchooserwidgeet: Reset the selected swatch when removing
authorTimm Bäder <mail@baedert.org>
Sat, 30 Jan 2016 21:31:27 +0000 (22:31 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 30 Jan 2016 22:02:06 +0000 (23:02 +0100)
commit16726e31f00438a728947be48ae80fd48327db97
tree1b11c28eb44d495b38941fa6d6cc23992c241516
parentdd322f715f0ac97155e0e443eaf7a73f8727a134
colorchooserwidgeet: Reset the selected swatch when removing

Otherwise, priv->current points to garbage and subsequently leads to a
crash, e.g. when adding another custom color.
gtk/gtkcolorchooserwidget.c